main(List<String> args) {}

abstract class Shape {
  int getArea();
  String getInfo() {
    return 'shape';
  }

  factory Shape() {
    return Rectangle();
  }
}

class Rectangle extends Shape {
  @override
  int getArea() {
    return 100;
  }
}
